Skip to content

azure-ai-foundry: Wikipedia language + URL safety#2240

Merged
robgruen merged 6 commits intomainfrom
dev/robgruen/TODO/azure-ai-foundry
Apr 23, 2026
Merged

azure-ai-foundry: Wikipedia language + URL safety#2240
robgruen merged 6 commits intomainfrom
dev/robgruen/TODO/azure-ai-foundry

Conversation

@robgruen
Copy link
Copy Markdown
Collaborator

  • Optional language parameter on Wikipedia helpers
  • URL encoding / protocol validation in Wikipedia fetches; tests

Split from #2210.

robgruen and others added 5 commits April 22, 2026 14:08
Allow getPageObject and getPageMarkdown callers to request a non-English
Wikipedia locale via an optional language parameter (defaults to "en" so
existing callers are unaffected).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Resolve merge conflicts favoring the "locale" parameter name used in the
updated docstrings.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- knowPro/collections: matchesWithMinHitCount condition > 0 → > 1 (optimization,
  all matches already have hitCount ≥ 1 by design)
- dispatcher/unknownSwitcher: parallelize assistant-selection partitions via
  Promise.all; extract selectFromPartitions() for testability
- knowledgeProcessor actions/entities: addMultiple concurrency 1 → settings.concurrency
- cache/explainWorkQueue: extend parameter-value-in-request check to cover numbers
- azure-ai-foundry/wikipedia: add optional locale param (default "en") to
  getPageObject and getPageMarkdown

Each fix is covered by new or updated unit tests.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ENT, parallel translation, URL protocol validation

Agent-Logs-Url: https://github.com/microsoft/TypeAgent/sessions/5828fefd-5097-4099-aa84-2f64fcd73f4e

Co-authored-by: robgruen <25374553+robgruen@users.noreply.github.com>
@robgruen robgruen temporarily deployed to development-fork April 22, 2026 23:43 — with GitHub Actions Inactive
@robgruen robgruen temporarily deployed to development-fork April 22, 2026 23:43 — with GitHub Actions Inactive
@robgruen robgruen added this pull request to the merge queue Apr 23, 2026
Merged via the queue into main with commit a7b201e Apr 23, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants